#ifdef _MSC_VER
#include "stdint.h"
#endif

#ifndef _KUAI_TYPEDEF_H_
#define _KUAI_TYPEDEF_H_

namespace kuai {

#ifdef DOUBLE_PRECISION
	typedef double RealNumber;
	typedef uint32_t ItemIndex;
	typedef uint64_t LargeIndex;
	typedef uint32_t ItemSize;
	typedef uint64_t LargeSize;
#else
	typedef float RealNumber;
	typedef uint16_t ItemIndex;
	typedef uint32_t LargeIndex;
	typedef uint16_t ItemSize;
	typedef uint32_t LargeSize;
#endif

	typedef ItemIndex AtomIndex;

}

#endif
